import '../entity/captcha.dart';
import '../repository/captcha_image_repository.dart';
import 'usecase.dart';

class GetCaptchaImageUseCase implements UseCase<Future<Captcha>, NoParams> {
  final CaptchaImageRepository _repository;

  GetCaptchaImageUseCase(this._repository);
  @override
  Future<Captcha> call(NoParams params) => _repository.get();
}
